home *** CD-ROM | disk | FTP | other *** search
/ Biodiversity of Illinois 2: Woodland Habitats / Biodiversity of Illinois 2 - Woodland Habitats.iso / mac / casts / PDFxtraBehaviors.cst / 00020_Script_PDF_Hide_OSX_Message < prev    next >
Text File  |  2006-07-11  |  1KB  |  31 lines

  1. -- Hide PDF OSX Message sprite
  2.  
  3. on beginSprite me
  4.    
  5. -- you're in Director 8.5 or higher
  6.     if the platform contains "Macintosh" and the environment.osVersion contains "10" then
  7.       sprite(me.Spritenum).visible = TRUE
  8.     else
  9.       sprite(me.Spritenum).visible = FALSE
  10.     end if
  11.   
  12. end beginSprite
  13.  
  14. on getBehaviorDescription
  15.   tmp = "USE ONLY WITH DIRECTOR 8.5 OR HIGHER!"
  16.   tmp = tmp & RETURN & "Hides a sprite containing a message to Mac OS X users" 
  17.   tmp = tmp & RETURN & "when movie is played on other operating systems."
  18.   tmp = tmp & RETURN & "To be attached to the PDF Behavior cast member:"  
  19.   tmp = tmp & RETURN & "PDF_OSX_Message or similar text member."
  20.   tmp = tmp &RETURN&RETURN& "Free to use and abuse. (c)2003, Integration New Media, Inc."
  21.   return tmp
  22. end
  23.  
  24. on getBehaviorTooltip
  25.   tmp = "Hides a sprite containing a message to Mac OS X users" 
  26.   tmp = tmp & RETURN & "when movie is played on other operating systems."
  27.   tmp = tmp & RETURN & "To be attached to the PDF Behavior cast member:"  
  28.   tmp = tmp & RETURN & "PDF_OSX_Message or similar text member."
  29.   tmp = tmp &RETURN&RETURN& "For use with Director 8.5 or higher. Free to use and abuse. (c)2003, Integration New Media, Inc."
  30.   return tmp
  31. end